#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    int arr[10];
    int i = 0, m = 0, n = 0;
    while (scanf("%d", &arr[i]) != EOF) {
        if (arr[i] > 0) {
            m++;
        }
        else
            n++;
    }
    printf("positive:%d\nnegative:%d\n", m, n);

    return 0;
}